package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.CollectionsType;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICollectionsTypeService {
    List<CollectionsType> list();

    PageInfo<CollectionsType> page(BaseRequest baseRequest);

    void save(CollectionsType collectionsType);

    CollectionsType getById(Integer id);

    void update(CollectionsType collectionsType);

    void deleteById(Integer id);

}
